package cn.bas;

import cn.bas.service.UserService;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;

@SpringBootApplication
public class MvcApplication {
    public static void main(String[] args) {
        ConfigurableApplicationContext run = SpringApplication.run(MvcApplication.class, args);
        Object userService = run.getBean(UserService.class);
        System.out.println(userService);
    }
}